package com.csii.activiti.server.core.mapper;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.csii.activiti.server.core.entity.ActFlowPermissionFindCount;
import com.csii.activiti.server.core.entity.db.ActFlowPermissionEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface ActFlowPermissionMapper extends BaseMapper<ActFlowPermissionEntity> {
    @SqlParser(filter=true)
    void batchInsert(List<ActFlowPermissionEntity> dataList);

    List<ActFlowPermissionFindCount> findCountByFlowKeys(@Param("flowKeys") Set<String> flowKeys);
}
